pull-local: Explicitly unref variant rather than relying on floating
authorColin Walters <walters@verbum.org>
Sun, 24 Jul 2016 19:00:02 +0000 (15:00 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 28 Jul 2016 10:10:17 +0000 (10:10 +0000)
commit35008ead771a7b84128a0fb275af3ca9367a3571
tree3a6359d54eafddfc98ef0e7257616f7ab44e90d6
parentd13cf37b3f19982e2089fb6cea17824acb9a8828
pull-local: Explicitly unref variant rather than relying on floating

This shows up as a leak in valgrind; the callee isn't sinking.  In
general through the power of cleanup attributes we can do explicit
cleanup rather than relying on floating refs.

Closes: #410
Approved by: giuseppe
src/ostree/ot-builtin-pull-local.c